﻿//----------------------------------------------------------------
// <copyright file="TaobaokeItemDetail.cs" >
//    Top Do ---TOP API DEMO 示例系列之
//    CLR Version: 2.0.50727.1434
//    NameSpace:  TopSpace.Bll
//    FileClass: TaobaokeItemDetail - 淘宝客商品详情
//
//    By 淘宝旺旺ID: 幻影时空
//    Email:visionspace@st-soft.cn
//    Copyright (C) SpaceTime SoftWare , All rights reserved (www.st-soft.cn).
//
//    项目引用 System.Net 类
// </copyright>
//----------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Text;

namespace TopSpace.Bll
{
    //API文档地址：http://open.taobao.com/dev/index.php/API2.0:TaobaokeItemDetail

    /// <summary>
    /// 淘宝客商品详情(TaobaokeItemDetail)
    /// </summary>
    public class TaobaokeItemDetail
    {
        private ItemsList _item = new ItemsList();
        /// <summary>
        /// 商品详细信息. fields中需要设置Item下的字段,如设置:iid,detail_url等; 只设置item_detail,则不返回的Item下的所有信息。注    此处引用的是简化版的Item，如果有需要可以换成完整版 的Item
        /// </summary>
        public ItemsList item
        {
            set { _item = value; }
            get { return _item; }
        }

        private string _click_url = string.Empty;
        /// <summary>
        /// 商品推广URL 
        /// </summary>
        public string click_url
        {
            set { _click_url = value; }
            get { return _click_url; }
        }

        private string _shop_click_url = string.Empty;
        /// <summary>
        /// 商品所在的店铺的推广URL 
        /// </summary>
        public string shop_click_url
        {
            set { _shop_click_url = value; }
            get { return _shop_click_url; }
        }

        private string _seller_credit_score = string.Empty;
        /// <summary>
        /// 商品所属卖家的信用等级 
        /// </summary>
        public string seller_credit_score
        {
            set { _seller_credit_score = value; }
            get { return _seller_credit_score; }
        }
    }
}
